<template>
    <div id="main-tab-bar">
        <tab-bar>
           <tab-bar-item path="/home" active-color="red">
               <div slot="item-icon"><img src="~@/assets/img/tabbar/home.png"/></div>
               <div slot="item-icon-active"><img src="~@/assets/img/tabbar/home_active.png"/></div>
               <div slot="item-text">首页</div>
           </tab-bar-item>
            <tab-bar-item path="/kind" active-color="red">
                <div slot="item-icon"><img src="~@/assets/img/tabbar/kind.png"/></div>
                <div slot="item-icon-active"><img src="~@/assets/img/tabbar/kind_active.png"/></div>
                <div slot="item-text">分类</div>
            </tab-bar-item>
            <tab-bar-item path="/shop" active-color="red">
                <div slot="item-icon"><img src="~@/assets/img/tabbar/shop.png"/></div>
                <div slot="item-icon-active"><img src="~@/assets/img/tabbar/shop_active.png"/></div>
                <div slot="item-text">购物</div>
            </tab-bar-item>
            <tab-bar-item path="/profile" active-color="red">
                <div slot="item-icon"><img src="~@/assets/img/tabbar/profile.png"/></div>
                <div slot="item-icon-active"><img src="~@/assets/img/tabbar/profile_active.png"/></div>
                <div slot="item-text">我的</div>
            </tab-bar-item>
        </tab-bar>
    </div>
</template>

<script>
   import TabBar from '../../common/TabBar/TabBar'
   import TabBarItem from "../../common/TabBar/TabBarItem";
    export default {
        name: "MainTabBar",
        components:{
            TabBar,
            TabBarItem
        }
    }
</script>

<style scoped>
</style>